Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.comment.types--types

This contribution is part of XML component org.nuxeo.ecm.platform.comment.types inside nuxeo-platform-comment-web-9.10.jar /OSGI-INF/comment-types-contrib.xml

Extension Point

Extension point types of component TypeService.

Contributed Items

  • <type id="CommentRoot">
          <label>CommentRoot</label>
          <icon>/icons/folder.gif</icon>
          <default-view>view_documents</default-view>
          <layouts mode="any">
            <layout>heading</layout>
          </layouts>
        </type>
  • <type id="Comment">
          <label>label.document.comment</label>
          <icon>/icons/comment.png</icon>
          <default-view>comment_view</default-view>
          <create-view>comment_create</create-view>
        </type>

XML Source

<extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">

    <type id="CommentRoot">
      <label>CommentRoot</label>
      <icon>/icons/folder.gif</icon>
      <default-view>view_documents</default-view>
      <layouts mode="any">
        <layout>heading</layout>
      </layouts>
    </type>

    <type id="Comment">
      <label>label.document.comment</label>
      <icon>/icons/comment.png</icon>
      <default-view>comment_view</default-view>
      <create-view>comment_create</create-view>
    </type>
  </extension>